package com.bosch.in.rtp1.ept.dao;

import java.sql.SQLException;
import java.util.List;

import com.bosch.in.rtp1.ept.model.dto.FXFactor;
import com.bosch.in.rtp1.ept.model.dto.Link;

public interface LinkListDao {
	
	/**
	 * Query to get list of Link 
	 * @return list of Link
	 * @throws SQLException
	 */
	List<Link> getLinkList() throws SQLException;
	
	/**
	 * update Link 
	 * @param link object
	 * @return true if successfully updated
	 * @throws Exception
	 */
	boolean updateLink(Link link) throws SQLException;
	
	/**
	 * insert new Link
	 * @param  fxFactors  object
	 * @return true if successfully inserted
	 * @throws Exception
	 */
	boolean insertLink(Link link) throws SQLException;

	/**
	 * delete Link
	 * @param  fxFactors  object
	 * @return true if successfully inserted
	 * @throws Exception
	 */
	boolean deleteLink(Link link) throws SQLException;


}
